﻿<UserControl x:Class="TauschFormat2.MainWindowView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:extToolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit/extended"
             xmlns:my="http://schemas.microsoft.com/winfx/2006/xaml/presentation/ribbon"
             xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
             xmlns:cal="http://www.caliburnproject.org"
             mc:Ignorable="d" 
             d:DesignHeight="933" d:DesignWidth="852" Background="#FFA3C0E7">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="139" />
            <RowDefinition Height="420*" />
        </Grid.RowDefinitions>
        <ScrollViewer Margin="0,8,12,8" Grid.Row="1" CanContentScroll="True" VerticalScrollBarVisibility="Auto">
            <Canvas Width="816" Height="739">
                <Canvas HorizontalAlignment="Left" Grid.Row="1" Width="401.957" Background="#FFE3EEF1" Height="738">
                    <Label Content="Originaltrainer" Canvas.Left="8" Canvas.Top="8" />
                    <Label Content="Trainer-ID" Canvas.Left="31.276" Canvas.Top="37.96" />
                    <Label Content="Pokemon" Canvas.Left="34.25" Canvas.Top="67.92" />
                    <Label Content="Wesen" Canvas.Left="48.749" Canvas.Top="97.88" />
                    <Label Content="Fähigkeit" Canvas.Left="36.453" Canvas.Top="127.84" />
                    <Label Content="Geschlecht" Canvas.Left="26.876" Canvas.Top="157.8" />
                    <TextBox x:Name="txtOriginaltrainer" Canvas.Left="98.396" TextWrapping="Wrap" Canvas.Top="12" Width="295.561" UndoLimit="-1" MaxLength="7"  TabIndex="1" />
                    <TextBox x:Name="txtTID" Canvas.Left="98.396" TextWrapping="Wrap" Canvas.Top="39.96" Width="295.561"  TabIndex="2" />
                    <Canvas Height="25.96" Canvas.Left="98.396" Canvas.Top="157.8" Width="295.561" />
                    <RadioButton x:Name="rbMaennlich" Content="Männlich" Canvas.Left="98.396" Canvas.Top="162.8" RenderTransformOrigin="-0.159,2.694"  TabIndex="6" />
                    <RadioButton x:Name="rbWeiblich" Content="Weiblich" Canvas.Left="167.006" Canvas.Top="162.8"  TabIndex="7" />
                    <RadioButton x:Name="rbOhne" Content="Ohne" Canvas.Left="232.599" Canvas.Top="162.8" IsChecked="True"  TabIndex="8" />
                    <Label Content="Level" Canvas.Left="57.54" Canvas.Top="187.76" />
                    <extToolkit:NumericUpDown x:Name="udLevel" Canvas.Left="98.396" Canvas.Top="190.76" Width="45" Maximum="100" Minimum="0"  TabIndex="9" />
                    <Label Content="Item" Canvas.Left="60.522" Canvas.Top="217.72" RenderTransformOrigin="0.49,0.512" />
                    <ComboBox Canvas.Left="98.396" Canvas.Top="217.72" Width="295.561" IsReadOnly="False" Name="cbItems" IsEditable="True"  TabIndex="11" />
                    <ComboBox x:Name="cbPokemon" Canvas.Left="98.397" Canvas.Top="71.92" Width="295.56" ItemsSource="{Binding}" DataContext="{Binding}" IsEditable="True"  TabIndex="3" />
                    <ComboBox x:Name="cbWesen" Canvas.Left="98.397" Canvas.Top="101.88" Width="295.56" IsEditable="True"  TabIndex="4" />
                    <ComboBox x:Name="cbFaehigkeit" Canvas.Left="98.397" Canvas.Top="131.84" Width="295.56" IsEditable="True"  TabIndex="5" />
                    <GroupBox Header="EV:" Canvas.Left="8" Canvas.Top="247.68" Height="115" Width="385.957">
                        <Canvas Height="93">
                            <Label Content="Angr" Canvas.Left="27.313" Canvas.Top="11" />
                            <extToolkit:NumericUpDown x:Name="udEVAngr" Canvas.Left="64.77" Canvas.Top="14" Width="45" Maximum="255" Minimum="0"  TabIndex="12" />
                            <Label Content="Vert" Canvas.Left="136.8" Canvas.Top="11" />
                            <extToolkit:NumericUpDown x:Name="udEVVert" Canvas.Left="172.77" Canvas.Top="14" Width="45" Maximum="255" Minimum="0"  TabIndex="13" />
                            <Label Content="Init" Canvas.Left="239.813" Canvas.Top="11" RenderTransformOrigin="1.484,0.938" />
                            <extToolkit:NumericUpDown x:Name="udEVInit" Canvas.Left="270.77" Canvas.Top="14" Width="45" Maximum="255" Minimum="0"  TabIndex="14" />
                            <Label Content="Sp. Angr" Canvas.Left="8" Canvas.Top="45" />
                            <extToolkit:NumericUpDown x:Name="udEVSpAngr" Canvas.Left="64.77" Canvas.Top="48" Width="45" Maximum="255" Minimum="0"  TabIndex="15" />
                            <Label Content="Sp. Vert" Canvas.Left="118" Canvas.Top="45" />
                            <extToolkit:NumericUpDown x:Name="udEVSpVert" Canvas.Left="172.77" Canvas.Top="48" Width="45" Maximum="255" Minimum="0"  TabIndex="16" />
                            <Label Content="KP" Canvas.Left="239.813" Canvas.Top="45" />
                            <extToolkit:NumericUpDown x:Name="udEVKP" Canvas.Left="270.77" Canvas.Top="48" Width="45" Maximum="255" Minimum="0"  TabIndex="17" />
                            <CheckBox Canvas.Left="8" Canvas.Top="72" Height="16" Name="chbEVUnbekannt" Content="Unbekannt"  TabIndex="18" />
                        </Canvas>
                    </GroupBox>
                    <GroupBox Header="DV:" Canvas.Left="6" Canvas.Top="369" Height="115" Width="385.957">
                        <Canvas Height="95" Name="canvasDV">
                            <Label Content="Angr" Canvas.Left="27.313" Canvas.Top="11" />
                            <extToolkit:NumericUpDown x:Name="udDVAngr" Canvas.Left="64.77" Canvas.Top="14" Width="45" Maximum="31" Minimum="0"  TabIndex="19" />
                            <Label Content="Vert" Canvas.Left="136.8" Canvas.Top="11" />
                            <extToolkit:NumericUpDown x:Name="udDVVert" Canvas.Left="172.77" Canvas.Top="14" Width="45" Maximum="31" Minimum="0"  TabIndex="20" />
                            <Label Content="Init" Canvas.Left="239.813" Canvas.Top="11" RenderTransformOrigin="1.484,0.938" />
                            <extToolkit:NumericUpDown x:Name="udDVInit" Canvas.Left="270.77" Canvas.Top="14" Width="45" Maximum="31" Minimum="0"  TabIndex="21" />
                            <Label Content="Sp. Angr" Canvas.Left="8" Canvas.Top="45" />
                            <extToolkit:NumericUpDown x:Name="udDVSpAngr" Canvas.Left="64.77" Canvas.Top="48" Width="45" Maximum="31" Minimum="0"  TabIndex="22" />
                            <Label Content="Sp. Vert" Canvas.Left="118" Canvas.Top="45" />
                            <extToolkit:NumericUpDown x:Name="udDVSpVert" Canvas.Left="172.77" Canvas.Top="48" Width="45" Maximum="31" Minimum="0"  TabIndex="23" />
                            <Label Content="KP" Canvas.Left="239.813" Canvas.Top="45" />
                            <extToolkit:NumericUpDown x:Name="udDVKP" Canvas.Left="270.77" Canvas.Top="48" Width="45" Maximum="31" Minimum="0"  TabIndex="24" />
                            <CheckBox Canvas.Left="10" Canvas.Top="73" Content="Unbekannt" Height="16" Name="chbDVUnbekannt"  TabIndex="24" />
                        </Canvas>
                    </GroupBox>
                    <ComboBox x:Name="cbAttacke1" Canvas.Left="96" Canvas.Top="490" Width="295.561" DataContext="{Binding}" IsEditable="True"  TabIndex="25" />
                    <Label Content="Attacke 1" Canvas.Left="32" Canvas.Top="490" />
                    <ComboBox x:Name="cbAttacke2" Canvas.Left="96" Canvas.Top="520" Width="295.561" IsEditable="True"  TabIndex="26" />
                    <Label Content="Attacke 2" Canvas.Left="32" Canvas.Top="520" />
                    <ComboBox x:Name="cbAttacke3" Canvas.Left="96" Canvas.Top="550" Width="295.561" IsEditable="True"  TabIndex="27" />
                    <Label Content="Attacke 3" Canvas.Left="32" Canvas.Top="550" />
                    <ComboBox x:Name="cbAttacke4" Canvas.Left="96" Canvas.Top="579" Width="295.561" IsEditable="True"  TabIndex="28" />
                    <Label Content="Attacke 4" Canvas.Left="32" Canvas.Top="579" />
                    <TextBox Canvas.Left="96" TextWrapping="Wrap" AcceptsReturn="True" VerticalScrollBarVisibility="Auto" Canvas.Top="605" Height="128.56" Width="295.56" Name="txtKommentar"  TabIndex="29" />
                    <Label Content="Kommentar" Canvas.Left="20" Canvas.Top="603" />
                    <CheckBox Canvas.Left="151" Canvas.Top="193" Content="Shiny" Height="16" Name="chbShiny"  TabIndex="10" />
                </Canvas>
                <Canvas Grid.Row="1" Background="#FFE3EEF1" Canvas.Left="407">
                    <Expander Header="Vorschau" RenderTransformOrigin="0.5,0.5" IsExpanded="True" Background="#FFE3EEF1" Width="414.043" Canvas.Left="-2" Canvas.Top="0">
                        <WebBrowser x:Name="brwsrVorschau" Height="335" Margin="0,0,-2,0" Width="403" OpacityMask="Lime" Opacity="1" />
                    </Expander>
                    <Expander Header="Codeausgabe" Canvas.Left="0" Canvas.Top="360" Width="413.043" Background="#FFE3EEF1" Name="expAusgabe">
                        <TextBox x:Name="txtAusgabe" TextWrapping="Wrap" IsReadOnly="True" Height="356" Width="Auto" VerticalScrollBarVisibility="Auto" />
                    </Expander>
                </Canvas>
            </Canvas>
        </ScrollViewer>
        <my:Ribbon
            x:Name="rbnRibbon"
            IsSynchronizedWithCurrentItem="True"
            SelectedIndex="0">
            <my:Ribbon.ApplicationMenu>
                <my:RibbonApplicationMenu>
                    <my:RibbonApplicationMenuItem
                        Header="Speichern Unter..."
                        x:Name="mniSpeichernUnter" />
                </my:RibbonApplicationMenu>
            </my:Ribbon.ApplicationMenu>



            <my:RibbonTab
                x:Name="rbtStart"
                Header="Start">

                <my:RibbonGroup
                    Header="Ausgabe">
                    <my:RibbonButton
                        Label="Ausgabe" LargeImageSource="/TauschFormat2;component/Images/paste_32x32.png" />

                    <my:RibbonButton                        
                        Label="Mehrfachcodeausgabe" LargeImageSource="/TauschFormat2;component/Images/077_AddFile_48x48_72.png" />
                </my:RibbonGroup>
                <my:RibbonGroup
                    Header="Design">
                    <ComboBox x:Name="rbcbDeginauswahl" Width="100" IsEditable="True" IsTextSearchEnabled="True"/>
                </my:RibbonGroup>

            </my:RibbonTab>
            <my:RibbonTab
                Header="Einstellungen"
                x:Name="rbnEinstellungen">
                <my:RibbonGroup
                    Header="Einstellungen" LargeImageSource="/TauschFormat2;component/Images/327_Options_48x48_72.png">
                    <my:RibbonButton x:Name="rbbttnSetStyles"
                        Label="Styles bearbeiten" Content="Styles" LargeImageSource="/TauschFormat2;component/Images/EditHTMLSource.png" />
                    <my:RibbonButton x:Name="rbbttnSetBBC" Content="BBCode bearbeiten" Label="BBCode bearbeiten" LargeImageSource="/TauschFormat2;component/Images/327_Options_48x48_72.png" />
                    <my:RibbonButton x:Name="rbbttnSetPokemon"
                    	Label="Pokemon bearbeiten" Content="Pokemon bearbeiten" LargeImageSource="/TauschFormat2;component/Images/25.png" />
                    <my:RibbonButton x:Name="rbbttnSetItems"
                    	Label="Items bearbeiten" Content="Items bearbeiten" />
                    <my:RibbonButton x:Name="rbbttnSetMoves"
                    	Label="Attacken bearbeiten" Content="Attacken bearbeiten" />
                    <my:RibbonButton x:Name="rbbttnSetWesen" 
                        Label="Wesen bearbeiten" Content="Wesen bearbeiten" />
                    <my:RibbonButton x:Name="rbbttnSetFaehigkeit" 
                        Label="Fähigkeiten bearbeiten" Content="Fähigkeit bearbeiten" />

                </my:RibbonGroup>
            </my:RibbonTab>
        </my:Ribbon>
    </Grid>
</UserControl>
